home *** CD-ROM | disk | FTP | other *** search
/ Click 5 / Click 5.iso / data / game5.dat / scripts / DefineSprite_105 / frame_1 / DoAction.as < prev   
Text File  |  2002-11-22  |  254b  |  14 lines

  1. if((shagi - 1) * 2 < 10)
  2. {
  3.    FishekPut = "00" + (shagi - 1) * 2;
  4. }
  5. else if((shagi - 1) * 2 < 100)
  6. {
  7.    FishekPut = "0" + (shagi - 1) * 2;
  8. }
  9. else
  10. {
  11.    FishekPut = (shagi - 1) * 2;
  12. }
  13. FishekPercent = Math.floor((shagi - 1) / FullShagi * 100);
  14.